/***************************************************************************
 *   Copyright (C) 2007 by Nicholas Robbins, David Murphy                  *
 *   nrrobbin@umcg.org, djmurphy@umcg.org                                  *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
#include "character.h"

character::character()
{
	system = QString("");
	QString * empt = new QString("");
	clas=empt;
	charName=empt;
	playName=empt;
	exp=0;

	str=0;
	dex=0;
	stam=0;
	
	intel=0;
	wis=0;
	percep=0;
	
	charis=0;
	manip=0;
	appear=0;
	
//	speed=0;
}

character::character(QString sys)
{
	system = sys;
	QString * empt = new QString("");
	clas=empt;
	charName=empt;
	playName=empt;
	exp=0;

	str=0;
	dex=0;
	stam=0;
	
	intel=0;
	wis=0;
	percep=0;
	
	charis=0;
	manip=0;
	appear=0;
	
//	speed=0;
}

void character::setName(QString chNam)
{
//	charName = chNam;
}

void character::setPlayName(QString playname)
{
//	playName = playname;
}

void character::setClass(QString cl)
{
//	clas = cl;
}

void character::setStrength(int s)
{
	str = s;
}
void character::setDexterity(int d)
{
	dex = d;
}
void character::setStamina(int st)
{
	stam = st;
}

void character::setInteligence(int i)
{
	intel = i;
}
void character::setWisdom(int w)
{
	wis = w;
}
void character::setPerception(int p)
{
	percep = p;
}

void character::setCharisma(int c)
{
	charis = c;
}
void character::setManipulation(int m)
{
	manip = m;
}
void character::setAppearence(int a)
{
	appear = a;
}

QString* character::getName()
{
	return charName;
}

QString* character::getPlayName()
{
	return playName;
}

QString* character::getClass()
{
	return clas;
}

int character::getStrength()
{
	return str;
}

int character::getDexterity()
{
	return dex;
}

int character::getStamina()
{
	return stam;
}

int character::getInteligence()
{
	return intel;
}

int character::getWisdom()
{
	return wis;
}

int character::getPerception()
{
	return percep;
}

int character::getCharisma()
{
	return charis;
}

int character::getManipulation()
{
	return manip;
}

int character::getAppearence()
{
	return appear;
}


character::~character()
{
}
